<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title><?php echo $title_for_layout; ?> - <?php echo __('BackOffice MoroccoBooking.com'); ?></title>

    <!-- Bootstrap Core CSS -->
    <link href="<?php echo $this->webroot;?>css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="<?php echo $this->webroot;?>css/plugins/metisMenu/metisMenu.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="<?php echo $this->webroot;?>css/sb-admin-2.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="<?php echo $this->webroot;?>font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- Social Buttons CSS -->
    <link href="<?php echo $this->webroot;?>css/plugins/social-buttons.css" rel="stylesheet">

    <!-- Timeline CSS -->
    <link href="<?php echo $this->webroot;?>css/plugins/timeline.css" rel="stylesheet">

    <!-- Morris Charts CSS -->
    <link href="<?php echo $this->webroot;?>css/plugins/morris.css" rel="stylesheet">

    <!-- DataTables CSS -->
    <link href="<?php echo $this->webroot;?>css/plugins/dataTables.bootstrap.css" rel="stylesheet">

    <link href="<?php echo $this->webroot;?>font-awesome-4.1.0/css/font-awesome.css" rel="stylesheet">
    <link href="<?php echo $this->webroot;?>font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet">

    
 <!-- /#wrapper -->


<?php /*echo $this->Html->script(array('jquery-1.11.0',
  'bootstrap.min',
  'bootstrap',
  'sb-admin-2',
  'plugins/metisMenu/metisMenu.min',
  'plugins/metisMenu/metisMenu',
  'plugins/morris/morris',
  'plugins/morris/morris.min',
  'plugins/morris/morris-data',
  'plugins/morris/raphael.min',
  'plugins/flot/excanvas.min',
  'plugins/flot/jquery.flot',
  'plugins/flot/jquery.flot.pie',
  'plugins/flot/jquery.flot.resize',
  'plugins/flot/jquery.flot.tooltip.min',
  'plugins/flot/flot-data',
  'plugins/dataTables/dataTables.bootstrap',
  'plugins/dataTables/jquery.dataTables'
  ));  */    

   ?>


   <?php echo $this->Html->script(array('jquery-1.11.0',
  'bootstrap.min',
  'bootstrap',
  'sb-admin-2',
  'plugins/metisMenu/metisMenu.min',
  'plugins/metisMenu/metisMenu',
  'plugins/morris/morris',
  'plugins/morris/morris.min',
  'plugins/morris/morris-data',
  'plugins/morris/raphael.min',
  'plugins/flot/excanvas.min',
  'plugins/flot/jquery.flot',
  'plugins/flot/jquery.flot.pie',
  'plugins/flot/jquery.flot.resize',
  'plugins/flot/jquery.flot.tooltip.min',
  'plugins/flot/flot-data',
  'plugins/dataTables/dataTables.bootstrap',
  'plugins/dataTables/jquery.dataTables'));      

   ?>
 
   
    <!-- Page-Level Demo Scripts - Notifications - Use for reference -->
    <script type="text/javascript">
    // tooltip demo
    $('.tooltip-demo').tooltip({
        selector: "[data-toggle=tooltip]",
        container: "body"
    })

  
    $("[data-toggle=popover]")
        .popover()
   
    </script>

</head>

<body>

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">


            <?php echo  $this->element('admin/navbar-header'); ?>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">

                    <?php echo  $this->element('admin/dropdown-messages'); ?>
                    <!-- /.dropdown-messages -->
                
                <!-- /.dropdown -->
                    <?php echo  $this->element('admin/dropdown-tasks'); ?>
                    <!-- /.dropdown-tasks -->
               
                <!-- /.dropdown -->
                    <?php echo  $this->element('admin/dropdown-alerts'); ?>
                <!-- /.dropdown-alerts -->
                
                <!-- /.dropdown -->
                    <?php echo  $this->element('admin/dropdown-user'); ?>
                    <!-- /.dropdown-user -->
                
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

                <?php echo  $this->element('admin/navigation'); ?>
                <!-- /.sidebar-collapse -->

            <!-- /.navbar-static-side -->
        </nav>



        <!-- Page Content -->
        <div id="page-wrapper">
            
            <?php echo $this->Session->flash(); ?>
            <?php echo $content_for_layout; ?>
            <!-- /.row -->
            
        </div>
        <!-- /#page-wrapper -->

    </div>
   
<?php
    echo $this->Blocks->get('scriptBottom');
    if (class_exists('JsHelper') && method_exists($this->Js, 'writeBuffer')) echo $this->Js->writeBuffer();
  ?>

</body>

</html>

